<?php
namespace app\index\validate;

use think\Validate;

class User extends Validate
{
	protected $rule = [
		'email' => ['email'],
		'name' => 'require|max:10',
		'password' => 'require',
	];

	protected $message = [
		'email' => '郵箱格式錯誤!',
		
	];
}